﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoccaStore.Data
{
    public interface IAddressBookRepository : IRepositoryBase
    {
        List<Contact> GetByAccountID(int accountId);
        Contact GetByID(int id);
        int Save(Contact account);

        Contact GetByEmail(string email, int accountId);

        List<Contact> GetBySearchTerm(string searchTerm, int accountId);
    }
}
